import  requests

url = 'https://www.douguo.com/jingxuan/0'
headers = {
    # 字典，需要有一个键值对
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36'
}
html = requests.get(url, headers=headers)

# 解析数据
from lxml import etree
html = etree.HTML(html.text)
print(html.xpath('//*[@id="jxlist"]/li/div/a[1]/text()'))



